﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class sfNPC:NPC
    {
        public sfNPC(string name, string leixin)
        {
            this.Name = name;
            this.Leixin = leixin;
        }
        public override void jt()
        {
            Console.WriteLine("我是{0}{1}，有需要的东西吗？", this.Leixin, this.Name);
        }
    }
}
